Skip to main content

Get all points

GET 

/points/:entityType/:userID

This endpoint returns all points

Request

Path Parameters

    userID stringrequired

    The user ID of the user to get points for

    entityType stringrequired

    Possible values: [user, group]

    The entity type of the user to get points for

Responses

A list of points

Schema

  • Array [

  • history

    object[]

    required

    this user's point history

  • Array [

  • value integerrequired

    the number of points

    reason stringrequired

    the reason for the points

    created_at stringrequired

    the date the points were created

    source stringrequired

    the source of the points

  • ]

  • ]

Loading...